#pragma once

#include <unistd.h>
#include "basic_task.hpp"

class debug_task : public basic_task
{
public:
    virtual void operator()()
    {
        sleep(1);
        lg.basic_print(level::DEBUG, std::make_tuple("thread "), false);
        std::cout << std::this_thread::get_id();
        lg.basic_print(level::DEBUG, std::make_tuple(" succeeds"), true);
    }
};